package com.gxaedu.rbac.pojo;

import java.util.List;

/**
 * @author:Teacher黄
 * @date:Created at 2020/04/21
 */
public class Menu {
    /**
     * 菜单对应到权限得id
     */
    private Long menuId;

    /**
     * 菜单得名字
     */
    private String menuName;


    /**
     * 菜单跳转得地址
     */
    private String menuUrl;


    /**
     * 菜单得子级
     */
    private List<Menu> child;


    public Menu() {
    }

    public Menu(Long menuId, String menuName) {
        this.menuId = menuId;
        this.menuName = menuName;
    }

    public Menu(Long menuId, String menuName, String menuUrl) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.menuUrl = menuUrl;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }


    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public List<Menu> getChild() {
        return child;
    }

    public void setChild(List<Menu> child) {
        this.child = child;
    }
}
